//
//  ReverseString.hpp
//  CppDemo
//
//  Created by 蒋益杰 on 16/9/8.
//  Copyright © 2016年 com.ed. All rights reserved.
//

#ifndef ReverseString_hpp
#define ReverseString_hpp

#include <stdio.h>

struct RListNode {
    int value;
    RListNode *next;
    
    RListNode();
    RListNode(int x) : value(x), next(NULL) {}
};

void leftshift(char *s, int strlen, int num_to_shift);

RListNode* reverseList(RListNode *head);

int inversePairs(int *data, int length);

#endif /* ReverseString_hpp */
